package com.wing.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.system.model.entity.DingTalkAttendanceGroup;
import com.wing.system.model.response.DingTalkAttendanceGroupUseVo;
import com.wing.system.model.response.DingTalkAttendanceGroupVo;
import com.wing.system.model.response.DingTalkAttendanceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;


/**
 * 钉钉考勤组-Dao
 *
 * @author
 */
@Mapper
public interface DingTalkAttendanceGroupDao extends BaseMapper<DingTalkAttendanceGroup> {

    DingTalkAttendanceGroup selGroupInfo(@RequestParam("groupId") Long groupId);

    List<DingTalkAttendanceGroupVo> selDingTalkAttendanceGroupInfo(@Param("page") Page<DingTalkAttendanceGroupVo> pg, @Param("map") Map map);

    List<DingTalkAttendanceGroupUseVo> selAllGroupList();

}
